package com.rm.vip;

import com.rm.vip.api.UserServiceApi;

import java.net.InetSocketAddress;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        UserServiceApi remoteProxy =
                RpcClient.getRemoteProxy(UserServiceApi.class,
                        new InetSocketAddress("192.168.3.103", 20881));
        String result = remoteProxy.sayHello("Sky");

        System.out.println(result);
    }
}
